3.12.55 \(\int \frac {(1-2 x)^2 (2+3 x)^2}{3+5 x} \, dx\)

Optimal. Leaf size=37 \[ \frac {9 x^4}{5}-\frac {16 x^3}{25}-\frac {431 x^2}{250}+\frac {793 x}{625}+\frac {121 \log (5 x+3)}{3125} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {88} \begin {gather*} \frac {9 x^4}{5}-\frac {16 x^3}{25}-\frac {431 x^2}{250}+\frac {793 x}{625}+\frac {121 \log (5 x+3)}{3125} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((1 - 2*x)^2*(2 + 3*x)^2)/(3 + 5*x),x]

[Out]

(793*x)/625 - (431*x^2)/250 - (16*x^3)/25 + (9*x^4)/5 + (121*Log[3 + 5*x])/3125

Rule 88

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandI
ntegrand[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && IntegersQ[m, n] &&
(IntegerQ[p] || (GtQ[m, 0] && GeQ[n, -1]))

Rubi steps

\begin {align*} \int \frac {(1-2 x)^2 (2+3 x)^2}{3+5 x} \, dx &=\int \left (\frac {793}{625}-\frac {431 x}{125}-\frac {48 x^2}{25}+\frac {36 x^3}{5}+\frac {121}{625 (3+5 x)}\right ) \, dx\\ &=\frac {793 x}{625}-\frac {431 x^2}{250}-\frac {16 x^3}{25}+\frac {9 x^4}{5}+\frac {121 \log (3+5 x)}{3125}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 35, normalized size = 0.95 \begin {gather*} \frac {5 \left (2250 x^4-800 x^3-2155 x^2+1586 x+1263\right )+242 \log (5 x+3)}{6250} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((1 - 2*x)^2*(2 + 3*x)^2)/(3 + 5*x),x]

[Out]

(5*(1263 + 1586*x - 2155*x^2 - 800*x^3 + 2250*x^4) + 242*Log[3 + 5*x])/6250

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(1-2 x)^2 (2+3 x)^2}{3+5 x} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((1 - 2*x)^2*(2 + 3*x)^2)/(3 + 5*x),x]

[Out]

IntegrateAlgebraic[((1 - 2*x)^2*(2 + 3*x)^2)/(3 + 5*x), x]

________________________________________________________________________________________

fricas [A]  time = 1.32, size = 27, normalized size = 0.73 \begin {gather*} \frac {9}{5} \, x^{4} - \frac {16}{25} \, x^{3} - \frac {431}{250} \, x^{2} + \frac {793}{625} \, x + \frac {121}{3125} \, \log \left (5 \, x + 3\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^2/(3+5*x),x, algorithm="fricas")

[Out]

9/5*x^4 - 16/25*x^3 - 431/250*x^2 + 793/625*x + 121/3125*log(5*x + 3)

________________________________________________________________________________________

giac [A]  time = 0.90, size = 28, normalized size = 0.76 \begin {gather*} \frac {9}{5} \, x^{4} - \frac {16}{25} \, x^{3} - \frac {431}{250} \, x^{2} + \frac {793}{625} \, x + \frac {121}{3125} \, \log \left ({\left | 5 \, x + 3 \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^2/(3+5*x),x, algorithm="giac")

[Out]

9/5*x^4 - 16/25*x^3 - 431/250*x^2 + 793/625*x + 121/3125*log(abs(5*x + 3))

________________________________________________________________________________________

maple [A]  time = 0.00, size = 28, normalized size = 0.76 \begin {gather*} \frac {9 x^{4}}{5}-\frac {16 x^{3}}{25}-\frac {431 x^{2}}{250}+\frac {793 x}{625}+\frac {121 \ln \left (5 x +3\right )}{3125} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^2*(3*x+2)^2/(5*x+3),x)

[Out]

793/625*x-431/250*x^2-16/25*x^3+9/5*x^4+121/3125*ln(5*x+3)

________________________________________________________________________________________

maxima [A]  time = 0.65, size = 27, normalized size = 0.73 \begin {gather*} \frac {9}{5} \, x^{4} - \frac {16}{25} \, x^{3} - \frac {431}{250} \, x^{2} + \frac {793}{625} \, x + \frac {121}{3125} \, \log \left (5 \, x + 3\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^2/(3+5*x),x, algorithm="maxima")

[Out]

9/5*x^4 - 16/25*x^3 - 431/250*x^2 + 793/625*x + 121/3125*log(5*x + 3)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 25, normalized size = 0.68 \begin {gather*} \frac {793\,x}{625}+\frac {121\,\ln \left (x+\frac {3}{5}\right )}{3125}-\frac {431\,x^2}{250}-\frac {16\,x^3}{25}+\frac {9\,x^4}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((2*x - 1)^2*(3*x + 2)^2)/(5*x + 3),x)

[Out]

(793*x)/625 + (121*log(x + 3/5))/3125 - (431*x^2)/250 - (16*x^3)/25 + (9*x^4)/5

________________________________________________________________________________________

sympy [A]  time = 0.10, size = 34, normalized size = 0.92 \begin {gather*} \frac {9 x^{4}}{5} - \frac {16 x^{3}}{25} - \frac {431 x^{2}}{250} + \frac {793 x}{625} + \frac {121 \log {\left (5 x + 3 \right )}}{3125} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**2*(2+3*x)**2/(3+5*x),x)

[Out]

9*x**4/5 - 16*x**3/25 - 431*x**2/250 + 793*x/625 + 121*log(5*x + 3)/3125

________________________________________________________________________________________